package com.endbd.purchase.purchase_order.model;

import com.endbd.feignapi.model.purchase.CFirm;
import com.endbd.feignapi.model.purchase.CProduct;
import com.endbd.feignapi.model.purchase.CType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * @Auther:Lang
 * @Date:2022-11-17
 * @Time:16:56
 * @Description:联表查询的其它表的数据
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class PurchaseData {
    private String detailsId;           //明细Id
    private Integer brandId;             //品牌Id
    private String brandName;           //品牌名称
    private Integer typeId;              //类型id
    private String typeName;            //类型名称
    private Integer productId;           //商品id
    private String productModel;        //商品型号
    private Integer firmId;              //厂商id
    private String firmName;            //厂商名称
    private String productUnit;         //单位
    private Double purchasePrice;       //单价
    private Integer count;              //数量
    private Double totalMoney;          //总金额
    private List  data;  //商品信息数据

}
